import request from '@/utils/request'
//登录信息
export function loginService(data) {
	return request({
		url: '/openapi/wxLogin',
		method: 'post',
		data
	})
}
// 获取用户信息
export function getUserInfoSerive() {
	return request({
		url: '/fwuser/0',
		method: 'get',
	})
}
// 更新用户图像
export function usersetInfoService(params) {
	return request({
		url: '/fwuser',
		method: 'put',
		data: params
	})
}
// 更新用户图像
export function userChangePictureService() {
	return request({
		url: '/mini/banner/list',
		method: 'put'
	})
}

export const adminLogin = (data) => {
	return request({
		url: "/admin/Login",
		method: "post",
		data: data
	})
}